﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace Blog.IService
{
    public interface IService<T> where T:class,new ()
    {
        bool Add(T model);
        bool Delete(T model);
        bool Update(T model);
        List<T> GetModel(Expression<Func<T, bool>> whereExpression);
    }
}
